package com.itheima.service;

import com.itheima.common.PageBean;
import com.itheima.common.PaginationVO;
import com.itheima.entity.addRole;
import com.itheima.vo.RoleVO;

import java.util.List;

public interface RoleService {
    PaginationVO<RoleVO> page(Integer limit, Integer page, String name);

    List<RoleVO> allData();

    void addRole(addRole role);

    RoleVO rowInfoRole(String id);

    void delRoleById(String id);

    void updateRole(addRole role);
}
